<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <ul class="nav nav-tabs"></ul>
    </div>
    <div class="fixed-table-body">
        <div class="fixed-table-loading" style="top: 42px; display: none;">正在努力地加载数据中，请稍候……</div>
        <table id="table" class="table table-striped table-bordered table-hover table-nowrap" width="100%">
            <thead>
            <tr>
                <th class="text-center" align="center" colspan="<?php echo $scount*3;?>">{$inteInfo['starttime']}-{$inteInfo['endtime']}周次外联积分分组排名</th>
            </tr>
            {foreach name="result" key="kk" item="vv"}
            <tr>
                <th style="text-align: center; vertical-align: middle; " data-field="" colspan="5">
                    <div class="th-inner ">{$kk}组外联积分排名</div>
                    <div class="fht-cell"></div>
                </th>
            </tr>
            </thead>
            <tbody data-listidx="0">
            <tr>
                <th>所属分组</th>
                <th>市场</th>
                <th>所属区域</th>
                <th>外联</th>
                <th>积分</th>
            </tr>
            {foreach name="vv" key="ks" item="vs"}

                {foreach name="vs" key="key" item="val"}

            <?php
                        $fenqu = TableListSqlQuery('Field'," `id` = '".$ks."' ",'parentid','hdyj_auth_department');
                        $quyu = $fenqu[0]['parentid'];
                        ?>
            <tr>
                <td>{$kk}组</td>
                <td>{:TableField('AuthDepartment','name',$ks)}</td>
                <td>{:TableField('AuthDepartment','name',$quyu)}</td>
                <td>{:TableField('Admin','username',$key,'userid')}</td>
                <td>{$val}</td>
            </tr>
            {/foreach}
            {/foreach}
            {/foreach}
            </tr>
            </tbody>
        </table>
    </div>
</div>